package com.ruoyi.yljf.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.yljf.domain.Course;
import com.ruoyi.yljf.domain.vo.CoursePracticeVO;
import com.ruoyi.yljf.domain.vo.ExamVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import oshi.util.Constants;

/**
 * 课程Mapper接口
 * 
 * @author TC
 * @date 2025-02-19
 */
public interface CourseMapper extends BaseMapper<Course> {

    @Select("SELECT id, name FROM yljf_course")
    List<CoursePracticeVO> getIds();

    @Select("SELECT id, name FROM yljf_course")
    List<ExamVO> getExamVO();
}
